package com.educate.studentmanagementsystem.pojo.entity;

public class Student {
    private Integer studentId;
    private String name;
    private String gender;
    private Integer classId;
    private Integer age;

    public Student() {
    }

    public Student(Integer studentId, String name, String gender, Integer classId, Integer age) {
        this.studentId = studentId;
        this.name = name;
        this.gender = gender;
        this.classId = classId;
        this.age = age;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", classId=" + classId +
                ", age=" + age +
                '}';
    }
}
